package dao;

import bean.pojo.Room;

import java.util.List;

/**
 * dao
 * User: 坚持
 * Date: 2024/12/17 11:44
 * motto: 树欲静而风不止
 * Description:
 * Version: V1.0
 */
public interface RoomDao {
    Integer update(Room room);
    Integer add(Room room);
    List<Room> roomFindBy(Integer page, Integer limit, Integer roomId, String roomNumber,
                          String roomType, Integer roomArea, String remarks, Integer userId);

    Long findByTotal(Integer roomId, String roomNumber,
                     String roomType, Integer roomArea, String remarks, Integer userId);

    Integer deleteById(Integer roomId);

    List<Room> findType();

    List<Room> findRoomList();
}
